<%@page import="java.sql.*"%>
<%@page import="jobportal.Dbconn" %>
<%
                                                Connection con5 = Dbconn.getConn();
                                                Statement st5 = con5.createStatement();

                                                ResultSet rs5;
                                    %>

<table width="300" height="206" border="0" cellpadding="0" cellspacing="0" style="overflow:hidden;">
                                                            <tbody>
                                                                <tr class="pnl_hdg">
                                                                    <td align="center" valign="middle" width="24" height="24">
                                                                        <div class="latjob_icon">                                                                        </div>                                                                    </td>
                                                                    <td align="left" valign="middle" height="24" width="271">
                                                                        News                                                                    </td>
                                                                </tr>

                                                                <tr>
                                                                    <td align="left" valign="top" colspan="2">
                                                                        <marquee behavior="scroll" scrollamount="3" direction="up" loop="-1"  style="height:175px; margin-left:10px; width:290px;">
                                                                            <ul id="testomonial">
                                                                                <%try{
                                                                                            rs5 = st5.executeQuery("select * from news where lastdate>= now() ");
                                                                                            while (rs5.next()) {
                %>
                                                                                <li>
                                                                                    <strong>
                                                                                        <span class="right_arrow">                                                                                        </span>
                                                                                           <strong><font size="+1"><%=rs5.getString("heading")%>       </font>                                                                                     </strong>                                                                                                                                                                          
                                                                                    </br><strong>
                                                                                        <br/>
                                                                                        <font color='#3399FF'>Details</font>
                                                                                    </strong>
                                                                                    : <%=rs5.getString("details")%><br/>

                                                                                    <strong><font color='#3399FF'>Last date</font></strong>: <%=rs5.getString("lastdate")%>
                                                                                    
                                                                              </li>
																				<br/><br/><br/><br/>
                                                                                <% }}catch(Exception e){
                                                                                out.println(e);
}%>
                                                                            </ul>
                                                                        </marquee>                                                                    </td>
                                                                </tr>

                                                            </tbody>
                                                        </table>